<div class="page secondary">
    <div class="page-header">
        <div class="page-header-content">
            <h1>Chamado<small>lista</small></h1>
            <a href="javascript:history.go(-1)" class="back-button big page-back"></a>
        </div>
    </div>

    <div class="page-region">
        <div class="page-region-content">

            <div>
                <?php echo $view_toolbar; ?>    
            </div>
            <?php if (is_array($view_listChamado)): ?>
                <table class="striped">
                    <thead>
                        <tr>
                            <th>Solicitante</th>
                            <th>Grupo Equipamento</th>
                            <th>Problema</th>
                        </tr>
                    </thead>
                    <tbody>
                        <?php foreach ($view_listChamado as $objChamado) : ?>
                            <tr>
                                <td><a href="index.php?Chamado/informar/id/<?php echo $objChamado->getId(); ?>"><?php echo $objChamado->getSolicitante(); ?></a></td>
                                <td><?php echo $objChamado->getGrupo(); ?></td>
                                <td><?php echo $objChamado->getProblema(); ?></td>
                            </tr>
                        <?php endforeach ?>
                    </tbody>
                    <tfoot></tfoot>
                </table>
            <?php else: ?>
                <h3>Nenhum problema encontrado.</h3>
            <?php endif; ?>
        </div>
    </div>
</div>